package edu.put.sk.nrpp.ui;

import edu.put.sk.nrpp.Connection;

public class GraphicsConnection{
	public Connection connection;
	public int posXR1;
	public int posYR1;
	public int posXR2;
	public int posYR2;
	public GraphicsConnection(Connection connection){
		this.connection = connection;
	}
	public void setPosition(){
		posXR1 = connection.r1.graphicsRouter.posX+33;
		posYR1 = connection.r1.graphicsRouter.posY+24;
		posXR2 = connection.r2.graphicsRouter.posX+33;
		posYR2 = connection.r2.graphicsRouter.posY+24;
	}
}
